<?php
class newsComponents extends sfComponents{
    public function executeRandom_news(){
        $this->ktd_news = KTDNews::getRandomNews();
    }
    public function executeLast_news(){
        $this->ktd_news = KTDNews::getLastNews();
    }
}
?>
